home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0906.lha / PowerData / Documentation / ARexx Examples / ShowWindow.rexx < prev    next >
OS/2 REXX Batch file  |  1993-08-28  |  579b  |  34 lines

  1. /* NAME
  2.  *    ShowWindow.rexx - Show PowerDatas GUI
  3.  *
  4.  * SYNOPSIS
  5.  *    rx ShowWindow
  6.  *
  7.  * FUNCTION
  8.  *    If PowerData is running, then have it show its window. If the window
  9.  *    is already showing, then this macro will do nothing.
  10.  *
  11.  * INPUTS
  12.  *    None
  13.  *
  14.  * OUTPUTS
  15.  *    None
  16.  *
  17.  * NOTES
  18.  *
  19.  * SEE ALSO
  20.  *
  21.  * Author: Michael Berg
  22.  * Date  : 9-Mar-1993
  23.  * This file is part of the PowerData distribution.
  24.  */
  25.  
  26. IF SHOW(P,'POWERDATA') THEN DO
  27.   ADDRESS 'POWERDATA' showwindow
  28.   SAY 'PowerData window is now showing'
  29. END
  30. ELSE
  31.   SAY 'PowerData is not running'
  32.  
  33. /* The End */
  34.